package com.ylfstu.innerclass;

public class AnonymousInnerClassExercise {
    public static void main(String[] args) {
        f1(new AL() {
            @Override
            public void show() {
                System.out.println("这是一幅名画...");
            }
        });

    }

    public static void f1(AL al) {
        al.show();
    }
}
interface AL{
    void show();
}
